An error at a trial which led to an unjust outcome, such as the conviction of a person for a crime they did not commit.